package cn.edu.wfit.modules.learn.mapper.competitionmanagement;

import cn.edu.wfit.modules.learn.domain.WfitCompetitionConfig;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 竞赛分值Mapper接口
 * 
 * @author ruoyi
 * @date 2025-07-28
 */
@Mapper
public interface WfitCompetitionConfigMapper 
{
    /**
     * 查询竞赛分值
     * 
     * @param id 竞赛分值主键
     * @return 竞赛分值
     */
    public WfitCompetitionConfig selectWfitCompetitionConfigById(Long id);

    /**
     * 查询竞赛分值列表
     * 
     * @param wfitCompetitionConfig 竞赛分值
     * @return 竞赛分值集合
     */
    public List<WfitCompetitionConfig> selectWfitCompetitionConfigList(WfitCompetitionConfig wfitCompetitionConfig);

    /**
     * 新增竞赛分值
     * 
     * @param wfitCompetitionConfig 竞赛分值
     * @return 结果
     */
    public int insertWfitCompetitionConfig(WfitCompetitionConfig wfitCompetitionConfig);

    /**
     * 修改竞赛分值
     * 
     * @param wfitCompetitionConfig 竞赛分值
     * @return 结果
     */
    public int updateWfitCompetitionConfig(WfitCompetitionConfig wfitCompetitionConfig);

    /**
     * 删除竞赛分值
     * 
     * @param id 竞赛分值主键
     * @return 结果
     */
    public int deleteWfitCompetitionConfigById(Long id);

    /**
     * 批量删除竞赛分值
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteWfitCompetitionConfigByIds(Long[] ids);
}
